package com.glsc.ngateway.common.api.flowable.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.glsc.ngateway.common.api.flowable.dto.FlowableCopyDto;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class ResponseCopyUserDto implements Serializable {

    @ApiModelProperty(value = "流程id")
    private String processId;

    @ApiModelProperty(value = "被抄送人")
    private String userId;

    @ApiModelProperty(value = "第三方系统名称")
    private String sysid;

    public ResponseCopyUserDto() {
    }

    @ApiModelProperty(value = "返回用户对流程的抄送记录，空列表标识用户对流程无抄送，数组可能超过1个因为有多次抄送记录")
    private List<FlowableCopyDto> copyList;

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSysid() {
        return sysid;
    }

    public void setSysid(String sysid) {
        this.sysid = sysid;
    }

    public List<FlowableCopyDto> getCopyList() {
        return copyList;
    }

    public void setCopyList(List<FlowableCopyDto> copyList) {
        this.copyList = copyList;
    }

    @Override
    public String toString() {
        return "ResponseCopyUserDto{" +
                "copyList=" + copyList +
                '}';
    }
}
